//
//  ZuzhiDetailCell.m
//  ZhuoxinAgriculture
//
//  Created by 左忠飞 on 16/11/8.
//  Copyright © 2016年 KKING. All rights reserved.
//

#import "ZuzhiDetailCell.h"

@implementation ZuzhiDetailCell

+ (instancetype)cellWithTableView:(UITableView *)tableView {
    ZuzhiDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    
    if (!cell) {
        cell = [[self alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cell"];
    }
    
    return cell;
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.desc = [[UILabel alloc] initWithFrame:CGRectMake(20, 0, 90, 45)];
        self.desc.font = [UIFont systemFontOfSize:14];
        self.answer = [[UILabel alloc] initWithFrame:CGRectMake(130, 0, 200, 45)];
        self.answer.font = [UIFont systemFontOfSize:14];
        [self.contentView addSubview:self.desc];
        [self.contentView addSubview:self.answer];
    }
    return self;
}




- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
